// import util from "@/libs/util";

export default ({ request }) => ({
  /**
   * @description 获取品牌列表
   * @param {Object} data
   */
  BRAND_LIST(data = {}) {
    return request({
      url: "/data/v1/brandList",
      method: "post",
      data: data,
    });
  },
  /**
   * @description 获取商品品牌
   * @param {Object} data
   */
  GOODS_BRAND(data = {}) {
    return request({
      url: "/data/v1/goodBrand",
      method: "post",
      data: data,
    });
  },
  /**
   * @description 获取品牌Banner图片
   * @param {Object} data
   */
  BANNER_BRAND() {
    return request({
      url: "/data/v1/seckillBanner",
      method: "post",
    });
  },
});
